package lp.xian.materials.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库列表对象 lp_warehousing_requisition_table
 *
 * @author ruoyi
 * @date 2023-08-10
 */
@Data
public class WarehousingRequisitionTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入库单列表 */
    private Integer warehousingRequisitionTableId;

    /** 入库表id */
    @Excel(name = "入库表id")
    private Integer warehousingRequisitionId;

    /** 存货编码 */
    @Excel(name = "存货编码")
    private String warehousingOrderNo;

    /** 存货名称 */
    @Excel(name = "存货名称")
    private String warehousingRequisitionTableName;

    /** 存货名称 */
    @Excel(name = "存货名称")
    private String warehousingRequisitionTableSpeion;


    /** 主计量单位 */
    @Excel(name = "主计量单位")
    private String warehousingRequisitionTableUnit;

    /** 数量 */
    @Excel(name = "数量")
    private Integer warehousingRequisitionTableNum;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal warehousingRequisitionTablePrice;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal warehousingRequisitionTotalPrice;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal warehousingRequisitionTaxPrice;

    /** 含税总金额 */
    @Excel(name = "含税总金额")
    private BigDecimal warehousingRequisitionUnitTotalPrice;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

                .append("warehousingRequisitionTableSpeion", getWarehousingRequisitionTableSpeion())
                .append("warehousingRequisitionTableId", getWarehousingRequisitionTableId())
                .append("warehousingRequisitionId", getWarehousingRequisitionId())
                .append("warehousingOrderNo", getWarehousingOrderNo())
                .append("warehousingRequisitionTableName", getWarehousingRequisitionTableName())
                .append("warehousingRequisitionTableUnit", getWarehousingRequisitionTableUnit())
                .append("warehousingRequisitionTableNum", getWarehousingRequisitionTableNum())
                .append("warehousingRequisitionTablePrice", getWarehousingRequisitionTablePrice())
                .append("warehousingRequisitionTotalPrice", getWarehousingRequisitionTotalPrice())
                .append("warehousingRequisitionTaxPrice", getWarehousingRequisitionTaxPrice())
                .append("warehousingRequisitionUnitTotalPrice", getWarehousingRequisitionUnitTotalPrice())
                .toString();
    }
}
